SUPPORT / SAMPLES & SAS NOTES
 

Support

Problem Note 57104: Enabling dynamic logging in SAS® Enterprise Miner™ without requiring a middle-tier restart

DetailsHotfixAboutRate It

When you diagnose issues with SAS® Enterprise Miner, you often have to restart your middle-tier to enable debug logging.

Click the Hot Fix tab in this note to access the hot fix for this issue.

After applying the hot fix, you can follow these steps to enable dynamic logging in SAS Enterprise Miner 14.1 and to avoid restarting your middle-tier:

  1. Log on to SAS Web Administration Console by navigating to http://host:port/SASAdmin.
  2. Expand SAS Web Administration Console.
  3. Expand Application Management to display the list of applications.
  4. Click Enterprise Miner Mid-Tier Services 14.1.
  5. Expand the Logging section in the right pane.
  6. Check DEBUG for the com.sas.analytics.eminer and com.sas.analytics.eminer.midtier contexts.
  7. Click Set Options.

Enabling dynamic logging

The logging changes in the steps above on SAS Web Administration Console do not persist after you restart the SAS Enterprise Miner web application server. If you want the changes to be permanent, then you need to edit the property values for the com.sas.analytics.eminer and com.sas.analytics.eminer.midtier contexts. Edit the contexts in the SASEnterpriseMiner-log4j.xml file that is located in your SAS-configuration-directory/Lev1/Web/Common/LogConfig directory, as follows:


ORIGINAL VALUES:

<category additivity="false" name="com.sas.analytics.eminer.midtier"> <priority value = "WARN"/> <category additivity="false" name="com.sas.analytics.eminer"> <priority value = "WARN"/>

Replace the priority value from <priority value = "WARN"/> to <priority value = "DEBUG"/> .


MODIFIED VALUES:

<category additivity="false" name="com.sas.analytics.eminer.midtier"> <priority value = "DEBUG"/> <category additivity="false" name="com.sas.analytics.eminer"> <priority value = "DEBUG"/>

After making the above changes in the SASEnterpriseMiner-log4j.xml file, restart your middle-tier so that the new logging options are set.



Operating System and Release Information

Product FamilyProductSystemProduct ReleaseSAS Release
ReportedFixed*ReportedFixed*
SAS SystemSAS Enterprise Minerz/OS7.114.29.3 TS1M19.4 TS1M4
Microsoft Windows Server 2003 Datacenter Edition7.19.3 TS1M1
Microsoft® Windows® for x647.114.29.3 TS1M19.4 TS1M4
Microsoft Windows Server 2003 Enterprise Edition7.19.3 TS1M1
Microsoft Windows Server 2003 Standard Edition7.19.3 TS1M1
Microsoft Windows Server 2003 for x647.19.3 TS1M1
Microsoft Windows Server 20087.114.29.3 TS1M19.4 TS1M4
Microsoft Windows Server 2008 R27.114.29.3 TS1M19.4 TS1M4
Microsoft Windows Server 2008 for x647.114.29.3 TS1M19.4 TS1M4
Microsoft Windows XP Professional7.19.3 TS1M1
Windows 7 Enterprise 32 bit7.114.29.3 TS1M19.4 TS1M4
Windows 7 Enterprise x647.114.29.3 TS1M19.4 TS1M4
Windows 7 Home Premium 32 bit7.114.29.3 TS1M19.4 TS1M4
Windows 7 Home Premium x647.114.29.3 TS1M19.4 TS1M4
Windows 7 Professional 32 bit7.114.29.3 TS1M19.4 TS1M4
Windows 7 Professional x647.114.29.3 TS1M19.4 TS1M4
Windows 7 Ultimate 32 bit7.114.29.3 TS1M19.4 TS1M4
Windows 7 Ultimate x647.114.29.3 TS1M19.4 TS1M4
Windows Vista7.19.3 TS1M1
Windows Vista for x647.19.3 TS1M1
64-bit Enabled AIX7.114.29.3 TS1M19.4 TS1M4
64-bit Enabled HP-UX7.114.29.3 TS1M19.4 TS1M4
64-bit Enabled Solaris7.114.29.3 TS1M19.4 TS1M4
HP-UX IPF7.114.29.3 TS1M19.4 TS1M4
Linux7.114.29.3 TS1M19.4 TS1M4
Linux for x647.114.29.3 TS1M19.4 TS1M4
Solaris for x647.114.29.3 TS1M19.4 TS1M4
* For software releases that are not yet generally available, the Fixed Release is the software release in which the problem is planned to be fixed.